<?php
class View_Administration_Server_Add extends View_Administration_Server
{
	public function buildContent()
	{
		$words		= $this->words['server']['addServer'];

		//  --  UI COMPONENTS  --  //
		$ui	= array(
			'words'		=> $words,
			'form'		=> $this->buildForm(
				'administration/server',
				'addServer',
				'server',
				'addServer',
				array()
			),
			'buttonCancel'	=> $this->html->LinkButton(
				self::getUrl(),
				$words['buttonCancel'],
				'but cancel'
			),
			'buttonAdd'		=> $this->html->Button(
				'addServer',
				$words['buttonAdd'],
				'but add'
			),
			'form.tag'	=> $this->html->Form(
				'addServer',
				self::getUrl()
			),
			'caption'	=> $this->html->TableCaption( $words['caption'], 'add' ),
			'colgroup'	=> $this->html->ColumnGroup( $words['colgroup'] ),
		);
		return $this->loadTemplate( 'administration.server.add', $ui );
	}
}
?>
